package com.binyouwei.designpatterns.behavior.command;

/**
 * @author 宾有为
 * Created on 2024/7/15 22:52
 * Social homepage: https://blog.csdn.net/baidu_41616022
 * @desc 接收者类
 **/
public class LightReceiver {
    public void turnOn() {
        System.out.println("Light is on");
    }

    public void turnOff() {
        System.out.println("Light is off");
    }
}
